﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model.Entities;
using Model.ViewModels;

namespace Model.RepositoryInterfaces
{
    public interface IRoomRepository
    {
        void Create(int apartmentId, Room room);
        Room Read(int roomId);
        IList<RoomVm> ReadAll(int apartmentId);
        void Update(int apartmentId, RoomCrudAdminVm viewModel);
        void Delete(int apartmentId, int roomId);

        void GenerateRoomsByModel(int apartmentId);
    }
}
